package com.xuxin.baby.contract;

import com.xuxin.baby.bean.UpdateBean;
import com.xuxin.baby.presenter.HomePresenter;

/**
 * Created by xu_xin
 * Created on 2020/12/3 0003
 */
public interface HomeContract {

    interface Model {

        void getUpdate(HomePresenter presenter, String tenantId, String token);
    }

    interface View extends BaseContract.view {

        void onSuccess(UpdateBean baseBean);
    }

    interface Presenter extends BaseContract.presenter {

        void getUpdate(String tenantId, String token);

        void onSuccess(UpdateBean baseBean);
    }
}